package com.mentaleye.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.mentaleye.dal.model.StudentPunchRecord;

public interface StudentPunchRecordService {
    boolean insertByList(List<StudentPunchRecord> recordList);
    
    boolean updateRecord(StudentPunchRecord record);
    
    List<Map<String,Object>> getListByMap(Map<String,Object> map);
    
    StudentPunchRecord getRecordByKey(Long recordId);
    
    StudentPunchRecord getBySelective(int studentId,Date writeTime);
    
    List<StudentPunchRecord> getListBySelective(int studentId,Date writeTime);
    
    boolean deleteByWriteTime(Date writeTime);
}
